package com.doyoulearn.socket.基于TCPIP的多个Socket通信.server;

import com.doyoulearn.socket.基于TCPIP的多个Socket通信.constants.TCPConstants;

public class Server {
    public static void main(String[] args) {
        TCPServer tcpServer = new TCPServer(TCPConstants.PORT_SERVER);
        boolean isSucceed = tcpServer.start();
        if (!isSucceed) {
            System.out.println("Start TCP server failed!");
            return;
        }

    }
}
